package com.woniuxy.school.dietary.food.model.from;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;

/**
 * 查询菜品参数
 */
@Data
@ApiModel
public class FindFoodFrom {
    //商家id
    @ApiModelProperty(value = "商家id")
    private Long storeId;
    //菜品id
    @ApiModelProperty(value = "菜品id")
    @Positive(message = "菜品id必须为正数")
    @NotNull(message = "菜品id不能为空")
    private Long foodId;
//    //菜品名称
//    @ApiModelProperty(value = "菜品名称")
//    private String foodName;
//    //菜品价格
//    @ApiModelProperty(value = "菜品价格")
//    private Double price;
//    //菜品状态
//    @ApiModelProperty(value = "菜品状态")
//    private Integer state;
//    //菜品数量
//    @ApiModelProperty(value = "菜品数量")
//    private Integer count;

}
